<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        //写一个函数，用户输入任意两个数字的最大值，并能出弹运算后的结果
        function giao(a,b) {
            if (a>b) {
                return a
            }else if (a=b) {
                return '相等'
            }else {
                return b
            }
        }
         alert(giao(4,4))
    </script>
</body>
</html>